package com.example.farmeri.ui.farm_manager.model;

import java.io.Serializable;
import java.util.List;

/**
 * Create by weiqishan on 2020/11/21.
 */
public class FarmManagerModel {


    /**
     * count : 4
     * identity : 湿度管理员
     * users : [{"age":"20","credit":1,"email":"133@qq.com","icon":"","id":"109daf7c221c447cad2a20c33581b5e1","identity":"测试湿度","is_admin":1,"locked":false,"login_name":"湿度03","nick_name":"农业主管部门","password":"958fcfa1259cb25c015ce8af16d87875d762a6c8","remark":"","request_place":"成都大学","salt":"823c81e5db26aba1","tel":"13313313313"},{"age":"20","credit":0.95,"email":"1772430797@qq.com","icon":"","id":"282fdcbf-740c-4fa2-9d3c-653280eb6bec","identity":"湿度管理员","is_admin":1,"locked":false,"login_name":"用户A","nick_name":"用户A","password":"284bca2f67907d5c758ec92643edfa6324cabcbb","remark":"","request_place":"1222324","salt":"39f283bb4e4b3a9b","tel":"18402840242"},{"age":"20","credit":1,"email":"131@qq.com","icon":"","id":"7af9d58e790e413297229a3c2115254f","identity":"湿度管理员","is_admin":1,"locked":false,"login_name":"湿度01","nick_name":"湿度01","password":"2677282477155cd27649aaa579730f2521c0fbd1","remark":"","request_place":"成都大学","salt":"571bc7f8773c14be","tel":"13113113113"},{"age":"20","credit":1,"email":"132@qq.com","icon":"","id":"b2a94eda72e047b68cd4fd70eb6bd018","identity":"湿度","is_admin":1,"locked":false,"login_name":"湿度02","nick_name":"湿度02","password":"7fca8fb93436e210cd3be6d75fb425784e867a2a","remark":"","request_place":"成都大学","salt":"3944a8fa230cdb2b","tel":"13213213213"}]
     */

    private int count;
    private String identity;
    private List<UsersBean> users;

    public int getCount() {
        return count;
    }

    public void setCount(int count) {
        this.count = count;
    }

    public String getIdentity() {
        return identity;
    }

    public void setIdentity(String identity) {
        this.identity = identity;
    }

    public List<UsersBean> getUsers() {
        return users;
    }

    public void setUsers(List<UsersBean> users) {
        this.users = users;
    }

    public  class UsersBean implements Serializable {
        /**
         * age : 20
         * credit : 1
         * email : 133@qq.com
         * icon :
         * id : 109daf7c221c447cad2a20c33581b5e1
         * identity : 测试湿度
         * is_admin : 1
         * locked : false
         * login_name : 湿度03
         * nick_name : 农业主管部门
         * password : 958fcfa1259cb25c015ce8af16d87875d762a6c8
         * remark :
         * request_place : 成都大学
         * salt : 823c81e5db26aba1
         * tel : 13313313313
         */

        private String age;
        private int credit;
        private String email;
        private String icon;
        private String id;
        private String identity;
        private int is_admin;
        private boolean locked;
        private String login_name;
        private String nick_name;
        private String password;
        private String remark;
        private String request_place;
        private String salt;
        private String tel;

        public String getAge() {
            return age;
        }

        public void setAge(String age) {
            this.age = age;
        }

        public int getCredit() {
            return credit;
        }

        public void setCredit(int credit) {
            this.credit = credit;
        }

        public String getEmail() {
            return email;
        }

        public void setEmail(String email) {
            this.email = email;
        }

        public String getIcon() {
            return icon;
        }

        public void setIcon(String icon) {
            this.icon = icon;
        }

        public String getId() {
            return id;
        }

        public void setId(String id) {
            this.id = id;
        }

        public String getIdentity() {
            return identity;
        }

        public void setIdentity(String identity) {
            this.identity = identity;
        }

        public int getIs_admin() {
            return is_admin;
        }

        public void setIs_admin(int is_admin) {
            this.is_admin = is_admin;
        }

        public boolean isLocked() {
            return locked;
        }

        public void setLocked(boolean locked) {
            this.locked = locked;
        }

        public String getLogin_name() {
            return login_name;
        }

        public void setLogin_name(String login_name) {
            this.login_name = login_name;
        }

        public String getNick_name() {
            return nick_name;
        }

        public void setNick_name(String nick_name) {
            this.nick_name = nick_name;
        }

        public String getPassword() {
            return password;
        }

        public void setPassword(String password) {
            this.password = password;
        }

        public String getRemark() {
            return remark;
        }

        public void setRemark(String remark) {
            this.remark = remark;
        }

        public String getRequest_place() {
            return request_place;
        }

        public void setRequest_place(String request_place) {
            this.request_place = request_place;
        }

        public String getSalt() {
            return salt;
        }

        public void setSalt(String salt) {
            this.salt = salt;
        }

        public String getTel() {
            return tel;
        }

        public void setTel(String tel) {
            this.tel = tel;
        }
    }
}
